<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>用户中心</title>
</head>
<body>
    <h1><%=title %></h1>
    <div>用户名：<%=user.name%></div>
    <div>年龄：<%=user.age%></div>
    <div>成年否：
        <% if(user.age>=18){ %>
            <span>成年了</span>
        <% }else{ %>
            <span>我还是个孩子</span>
        <% } %>
        </div>
</body>
</html>